#ifndef HITPOINTHANDLER_H
#define HITPOINTHANDLER_H

#include "GameEventHandler.h"
#include "HitPointEvent.h"
#include "HitPointable.h"

class HitPointHandler: public GameEventHandler
{
public:
	HitPointHandler(HitPointable *receiver);
	HitPointHandler(const HitPointHandler& rhs);
	virtual ~HitPointHandler();

	bool CanHandle(const GameEvent* gameEvent) const;
	void HandleEvent(GameEvent* gameEvent);
	GameEventHandler* Clone() const;

protected:
private:
	HitPointEvent hitPointEvent;
	HitPointable *hitPointable;
};

#endif //HITPOINTHANDLER_H
